﻿#ifndef USERINFODLG_H
#define USERINFODLG_H

#include <QDialog>
#include "LoginDlg.h"

class FrameHelper;
class QAbstractItemModel;
namespace Ui {class UserInfoDlg;};
class UserInfoDlg : public QDialog
{
	Q_OBJECT

public:
	UserInfoDlg(QWidget *parent = 0);
	~UserInfoDlg();

public:
	void expandTree(int depth = -1);
	void setRecordModel(QAbstractItemModel * model);
	UserInfo getCurrentUserInfo();

protected slots:
	void on_btnOK_clicked();
	void on_btnCancel_clicked();

private:
	UserInfo userInfo;
	Ui::UserInfoDlg *ui;
	FrameHelper * pFrameHelper;
};

#endif // USERINFODLG_H
